// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_routes
// * CreateDate    : 2014-06-05 18:30:00
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:00
// * LastChanger   : 2014-06-05 18:30:00
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmRoutesTable : TableInfo
    {
		public const string C_TableName = "hm_routes";
		
		public const string C_routeid = "routeid";
		public const string C_routedomainname = "routedomainname";
		public const string C_routedescription = "routedescription";
		public const string C_routetargetsmthost = "routetargetsmthost";
		public const string C_routetargetsmtport = "routetargetsmtport";
		public const string C_routenooftries = "routenooftries";
		public const string C_routeminutesbetweentry = "routeminutesbetweentry";
		public const string C_routealladdresses = "routealladdresses";
		public const string C_routeuseauthentication = "routeuseauthentication";
		public const string C_routeauthenticationusername = "routeauthenticationusername";
		public const string C_routeauthenticationpassword = "routeauthenticationpassword";
		public const string C_routetreatsecurityaslocal = "routetreatsecurityaslocal";
		public const string C_routeusessl = "routeusessl";
		public const string C_routetreatsenderaslocaldomain = "routetreatsenderaslocaldomain";
		
		public HmRoutesTable()
        {
            _tableName = "hm_routes";
        }
		
		protected static HmRoutesTable _current;
        public static HmRoutesTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmRoutesTable();

            _current.Add(C_routeid, new ColumnInfo(C_routeid,"Routeid", true, typeof(int)));
            _current.Add(C_routedomainname, new ColumnInfo(C_routedomainname,"Routedomainname", false, typeof(string)));
            _current.Add(C_routedescription, new ColumnInfo(C_routedescription,"Routedescription", false, typeof(string)));
            _current.Add(C_routetargetsmthost, new ColumnInfo(C_routetargetsmthost,"Routetargetsmthost", false, typeof(string)));
            _current.Add(C_routetargetsmtport, new ColumnInfo(C_routetargetsmtport,"Routetargetsmtport", false, typeof(int)));
            _current.Add(C_routenooftries, new ColumnInfo(C_routenooftries,"Routenooftries", false, typeof(int)));
            _current.Add(C_routeminutesbetweentry, new ColumnInfo(C_routeminutesbetweentry,"Routeminutesbetweentry", false, typeof(int)));
            _current.Add(C_routealladdresses, new ColumnInfo(C_routealladdresses,"Routealladdresses", false, typeof(byte)));
            _current.Add(C_routeuseauthentication, new ColumnInfo(C_routeuseauthentication,"Routeuseauthentication", false, typeof(byte)));
            _current.Add(C_routeauthenticationusername, new ColumnInfo(C_routeauthenticationusername,"Routeauthenticationusername", false, typeof(string)));
            _current.Add(C_routeauthenticationpassword, new ColumnInfo(C_routeauthenticationpassword,"Routeauthenticationpassword", false, typeof(string)));
            _current.Add(C_routetreatsecurityaslocal, new ColumnInfo(C_routetreatsecurityaslocal,"Routetreatsecurityaslocal", false, typeof(byte)));
            _current.Add(C_routeusessl, new ColumnInfo(C_routeusessl,"Routeusessl", false, typeof(byte)));
            _current.Add(C_routetreatsenderaslocaldomain, new ColumnInfo(C_routetreatsenderaslocaldomain,"Routetreatsenderaslocaldomain", false, typeof(byte)));
			
		}
		
		public ColumnInfo routeid
        {
            get { return this[C_routeid]; }
        }
		
		public ColumnInfo routedomainname
        {
            get { return this[C_routedomainname]; }
        }
		
		public ColumnInfo routedescription
        {
            get { return this[C_routedescription]; }
        }
		
		public ColumnInfo routetargetsmthost
        {
            get { return this[C_routetargetsmthost]; }
        }
		
		public ColumnInfo routetargetsmtport
        {
            get { return this[C_routetargetsmtport]; }
        }
		
		public ColumnInfo routenooftries
        {
            get { return this[C_routenooftries]; }
        }
		
		public ColumnInfo routeminutesbetweentry
        {
            get { return this[C_routeminutesbetweentry]; }
        }
		
		public ColumnInfo routealladdresses
        {
            get { return this[C_routealladdresses]; }
        }
		
		public ColumnInfo routeuseauthentication
        {
            get { return this[C_routeuseauthentication]; }
        }
		
		public ColumnInfo routeauthenticationusername
        {
            get { return this[C_routeauthenticationusername]; }
        }
		
		public ColumnInfo routeauthenticationpassword
        {
            get { return this[C_routeauthenticationpassword]; }
        }
		
		public ColumnInfo routetreatsecurityaslocal
        {
            get { return this[C_routetreatsecurityaslocal]; }
        }
		
		public ColumnInfo routeusessl
        {
            get { return this[C_routeusessl]; }
        }
		
		public ColumnInfo routetreatsenderaslocaldomain
        {
            get { return this[C_routetreatsenderaslocaldomain]; }
        }
		
		
		
	}
}

